<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>个人资料 - 贵州四季康养文旅</title>
    <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tdesign-icons-vue-next/dist/index.min.css">
    <style>
        body {
            font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
            background-color: #f0f2f5;
            color: #333;
            overflow-x: hidden;
        }
        .form-item {
            border-bottom: 1px solid #f0f0f0;
            padding: 16px 0;
        }
        .form-item:last-child {
            border-bottom: none;
        }
        .avatar-upload {
            position: relative;
            width: 80px;
            height: 80px;
            border-radius: 50%;
            overflow: hidden;
            background-color: #f5f5f5;
            border: 2px solid #e0e0e0;
        }
        .avatar-upload .overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: rgba(0, 0, 0, 0.5);
            color: white;
            font-size: 12px;
            text-align: center;
            padding: 4px 0;
        }
        .gender-option {
            display: flex;
            align-items: center;
            padding: 8px 16px;
            border-radius: 8px;
            border: 1px solid #e0e0e0;
            margin-right: 12px;
        }
        .gender-option.active {
            border-color: #0052d9;
            background-color: #eaf3ff;
            color: #0052d9;
        }
    </style>
</head>
<body>
    <div class="pb-16"> <!-- 底部导航栏的空间 -->
        <!-- 顶部导航 -->
        <header class="bg-white p-4 flex items-center shadow-sm">
            <a href="../settings/settings.html" class="mr-4">
                <i class="t-icon t-icon-arrow-left text-xl"></i>
            </a>
            <h1 class="text-lg font-medium flex-1 text-center">个人资料</h1>
            <button class="text-blue-600">保存</button>
        </header>
        
        <!-- 个人资料表单 -->
        <div class="bg-white mt-4 p-4">
            <div class="form-item flex justify-between items-center">
                <span class="text-gray-700">头像</span>
                <div class="flex items-center">
                    <div class="avatar-upload mr-2">
                        <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="用户头像" class="w-full h-full object-cover">
                        <div class="overlay">更换</div>
                    </div>
                    <i class="t-icon t-icon-chevron-right text-gray-400"></i>
                </div>
            </div>
            
            <div class="form-item flex justify-between items-center">
                <span class="text-gray-700">昵称</span>
                <div class="flex items-center">
                    <input type="text" value="张小花" class="text-right text-gray-700 border-none outline-none bg-transparent" placeholder="请输入昵称">
                    <i class="t-icon t-icon-chevron-right text-gray-400 ml-2"></i>
                </div>
            </div>
            
            <div class="form-item flex justify-between items-center">
                <span class="text-gray-700">性别</span>
                <div class="flex items-center">
                    <div class="flex">
                        <div class="gender-option active">
                            <i class="t-icon t-icon-female mr-2 text-pink-500"></i>
                            <span>女</span>
                        </div>
                        <div class="gender-option">
                            <i class="t-icon t-icon-male mr-2 text-blue-500"></i>
                            <span>男</span>
                        </div>
                    </div>
                </div>
            </div>
            
            <div class="form-item flex justify-between items-center">
                <span class="text-gray-700">生日</span>
                <div class="flex items-center">
                    <span class="text-gray-700">1995-05-20</span>
                    <i class="t-icon t-icon-chevron-right text-gray-400 ml-2"></i>
                </div>
            </div>
            
            <div class="form-item flex justify-between items-center">
                <span class="text-gray-700">手机号</span>
                <div class="flex items-center">
                    <span class="text-gray-700">150****8888</span>
                    <i class="t-icon t-icon-chevron-right text-gray-400 ml-2"></i>
                </div>
            </div>
            
            <div class="form-item flex justify-between items-center">
                <span class="text-gray-700">所在地区</span>
                <div class="flex items-center">
                    <span class="text-gray-700">贵州省贵阳市</span>
                    <i class="t-icon t-icon-chevron-right text-gray-400 ml-2"></i>
                </div>
            </div>
            
            <div class="form-item flex justify-between items-center">
                <span class="text-gray-700">个性签名</span>
                <div class="flex items-center">
                    <span class="text-gray-500">暂无签名</span>
                    <i class="t-icon t-icon-chevron-right text-gray-400 ml-2"></i>
                </div>
            </div>
        </div>
        
        <div class="p-4 text-sm text-gray-500">
            修改个人资料可以帮助好友更好地认识你，同时获得更个性化的服务推荐。
        </div>
    </div>
</body>
</html> 